<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
</h:head>
<h:body style="background:#2A2D30">
<p:layout fullPage="true">  
  
    <p:layoutUnit position="north" size="120" header="DREAM TRAVEL AGANCY!" resizable="true" closable="false" collapsible="false">
     <p:growl  id="msgs" showDetail="true" style="width:200px;"/>
    <p:breadCrumb>  
    <p:menuitem  value="Profile" url="index.xhtml?admin=true" /> 
    <p:menuitem value="Profile " url="profile.xhtml" />  
    </p:breadCrumb> 
    </p:layoutUnit>  
  
    <p:layoutUnit position="south"  header="" size="110" >  
 
		<p:commandButton action="#{logoutBean.logout}" value="Logout" />
	
  </p:layoutUnit>  
  
    <p:layoutUnit position="west" size="525" resizable="false" closable="false" collapsible="false">
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
     <br/>
      <p:separator/>
<p:imageSwitch effect="zoom">  
    <ui:repeat value="#{sidepics.images}" var="image">  
        <p:graphicImage value="/images/sidepics/#{image}" />  
    </ui:repeat>  
</p:imageSwitch>
    <p:separator/>  
        </p:layoutUnit>  
    
  
    <p:layoutUnit position="east" size="525">
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
     <br/>
      <p:separator/>
<p:imageSwitch effect="shuffle">  
    <ui:repeat value="#{sidepics.images}" var="image">  
        <p:graphicImage value="/images/sidepics/#{image}" />  
    </ui:repeat>  
</p:imageSwitch>
    <p:separator/>
        </p:layoutUnit>  
      
         <p:layoutUnit position="center" size="340" alignment-adjust="middle">  
       
 <h:form id="form">
<br></br>
  
    <p:growl id="msgs" showDetail="true"/>
			
        <h:panelGrid columns="2" cellpadding="5"  >
        <h:outputText value="Where Do You Want To Go?" />
            <p:selectOneMenu id="city" value="#{standardpkbean.city}">
                <f:selectItem itemLabel="Select City" itemValue="" />
                <f:selectItems value="#{standardpkbean.cities}" />
                         </p:selectOneMenu>
        </h:panelGrid>
 <p:commandButton value="Serach" action="result" /> 
    
<p:galleria value="#{galleriabean.images}" var="image" panelWidth="500" panelHeight="313" showCaption="true">  
    <p:graphicImage value="/images/galleria/#{image}"  title="DREAM TARAVEL AGANCY"/>  
</p:galleria> 
   
        </h:form>
    </p:layoutUnit>  
  
</p:layout>  
 
  </h:body>
</html>
         